#ifndef NANE_OALSOUNDBUFFER_H
#   define  NANE_OALSOUNDBUFFER_H

#   include "nane/SoundSystem/ISoundSystem.h"
#   include "nane/SoundSystem/OAL/OpenALAPI.h"

namespace nane
{
    struct OALSoundBuffer
        : public ISoundBuffer
    {
        ALuint bufferID;
        ALenum format;
        uint32 frequency;
        uint16 channels;
        uint16 bitsPerSample;
        byte* buffer;
        uint32 size;
        
        OALSoundBuffer( ALuint _bufferID, ALenum _format, uint32 _frequency, uint32 _channels
                        , uint32 _bitsPerSample, byte* _buffer, uint32 _size )
            : bufferID( _bufferID )
            , format( _format )
            , frequency( _frequency )
            , channels( _channels )
            , bitsPerSample( _bitsPerSample )
            , buffer( _buffer )
            , size( _size )
        {
            
        }

    };
}

#endif	// NANE_OALSOUNDBUFFER_H
